import sys

from PySide6.QtWidgets import QApplication, QDialog

from exer_lib.ui import Ui_RGBSpinSlider


class MainWindow(QDialog):
    def __init__(self):
        super(MainWindow, self).__init__()
        self.ui = Ui_RGBSpinSlider()
        self.ui.setupUi(self)

if __name__ == "__main__":
    app = QApplication(sys.argv)

    window = MainWindow()
    window.setWindowTitle("RGB Spin slider")
    window.show()

    sys.exit(app.exec())